package com.bl.student.dao.model;

//import com.bl.student.common.enums.WithdrawalsStatus;
import com.bl.student.dao.model.converter.DatetimeConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by liangweikang on 18/12/29.
 */
@Entity
@Data
@Table(name = "withdrawals")
@ApiModel(value = "WithdrawalsEntity", description = "提现表")
@DynamicInsert
@DynamicUpdate
public class WithdrawalsEntity {

    @Id
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "手机号")
    @Column(name = "partyb_mobile")
    private String partybMobile;

    @ApiModelProperty(value = "用户id")
    @Column(name = "partyb_id")
    private String partybId;

    @ApiModelProperty(value = "用户姓名")
    @Column(name = "partyb_name")
    private String partybName;

    @ApiModelProperty(value = "提现金额")
    private BigDecimal money;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @Column(name = "update_time")
    private Date updateTime;

}
